package com.study.springboottest.test.interfaceTest;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Employee implements Comparable<Employee>, Cloneable {

    private Integer id;

    private String name;

    private Double salary;

    @Override
    public int compareTo(Employee o) {
        return 0;
    }

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
